<div class="page-content">
	<div class="row">
		<div class="col-sm-12 col-xs-12">
			<form name="userForm" id="userForm" novalidate="" role="form"> 
				<div class="form-horizontal">
			
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"> 
							热点账号： 
						</label>
						<div class="col-sm-9">
							<div class="input-group col-xs-10 col-sm-6">
								
								<label class="inline" >{$info.mid}</label>
								
							</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"> 
							联系人电话： 
						</label>
						<div class="col-sm-9">
							<div class="input-group col-xs-10 col-sm-6">
								
								<label class="inline" >{$info.phone}</label>
								
							</div>
						</div>
					</div>

					
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right margintop5"> 
							<i class="icon-asterisk light-red smaller-60 middle"></i>&nbsp;所属行业：
						</label>
						<div class="col-sm-9">
							<div class="input-group col-xs-10 col-sm-6">
								<select id="industry" name="industry" class="form-control">
					    			<option value="">请选择</option>
					    			<volist name="industry" id="vo" key="k">
					    				<option value="{$k}" <if condition="$info['industry'] eq $k">selected</if>>{$vo}</option>
					    			</volist>
								</select>
							</div>
						
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right margintop5"> 
							<i class="icon-asterisk light-red smaller-60 middle"></i>&nbsp;所在区域： 
						</label>
						<div class="col-sm-9">
							<div class="input-group col-sm-6">
								<select name="province" id="province" class="form-control"></select>
								<span class="input-group-btn"></span>
								<select name="city" id="city" class="form-control"></select>
								<span class="input-group-btn"></span>
								<select name="area" id="area" class="form-control"></select>
							</div>
						</div>
					</div>

					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 control-label no-padding-right" for="form-field-5"> 
							可发短信数：
						</label>
						<div class="col-sm-9">
							<label class="inline" >{$info.smscount}</label>
						</div>
					</div>
					
					<div collapse="isCollapsed">
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right margintop5" for="form-field-1"> 
								商家logo： 
							</label>
							<div class="col-sm-9">
								<div class="input-group col-xs-10 col-sm-6 " ng-mouseleave="merchantlogodisplay = {'display': 'none'}" ng-mouseover="merchantlogodisplay={'display':'block'}">
									<input type="file" nv-file-select="" uploader="uploader" options="{formData:{'type':'merchantlogo', 'imagename':info.homepage_logo ? info.homepage_logo : ''} }" class="form-control"  data-file-input />
									<div ng-show="is_upload" class="progress progress-striped active " data-percent="{{progress}}%"><div class="progress-bar" ng-style="{ 'width': progress + '%' }"></div></div>
									<img ng-show="info.homepage_logo" ng-src="{{info.homepage_logo}}"  class="img-thumbnail col-xs-12 col-sm-12">
									<div class="space-4"></div>
									<div id="alert_box_logo"></div>
								</div>
								<label class="inline" tipbr="">
									<div style="position: relative; ">
										<div class="popover right" id="merchantlogoTip" tip-location="-40px" ng-style="merchantlogodisplay" style="min-width: 350px; top: -50px; display: none;">
											<div class="arrow"></div>
											<div class="popover-content">
												<div class="msg_tips default">建议图片规格为200 * 60。</div>
												<div class="msg_tips default">大小为2MB，格式为：jpg，png，gif，建议格式png</div>
												<div class="msg_tips default">该图片显示在认证页和微网站</div>
											</div>
									    </div>			
														
									</div>
								</label>
							</div>
						</div>
					
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right margintop5" for="form-field-1"> 
								商家banner： 
							</label>
							<div class="col-sm-9">
								<div class="input-group col-xs-10 col-sm-6 " ng-mouseleave="forcereloaddisplay = {'display': 'none'}" ng-mouseover="forcereloaddisplay={'display':'block'}">
									<input type="file" nv-file-select="" uploader="uploader1" options="{formData:{'type':'merchantbanner', 'imagename':info.homepage_banner ? info.homepage_banner : ''} }"  class="form-control"  data-file-input />
									<div ng-show="is_upload1" class="progress progress-striped active " data-percent="{{progress1}}%"><div class="progress-bar" ng-style="{ 'width': progress1 + '%' }"></div></div>
									<img ng-show="info.homepage_banner" ng-src="{{info.homepage_banner}}"  class="img-thumbnail col-xs-12 col-sm-12">
									<div class="space-4"></div>
									<div id="alert_box_banner"></div>
								</div>
								<label class="inline" tipbr="">
									<div style="position: relative; ">
										<div class="popover right" id="lcpfailcountTip" tip-location="-40px" ng-style="forcereloaddisplay" style="min-width: 350px; top: -50px; display: none;">
											<div class="arrow"></div>
											<div class="popover-content">
												<div class="msg_tips default">建议图片规格为480*720。</div>
												<div class="msg_tips default">大小为2MB。</div>
												<div class="msg_tips default">该图片显示在认证页和微网站头部</div>
											</div>
									    </div>			
														
									</div>
								</label>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right margintop5" for="form-field-1"> 
								商家地址： 
							</label>
							<div class="col-sm-9" >
								<div class="input-group col-xs-10 col-sm-6 ">
									<input type="text" id="shop_address" name="shop_address" ng-model="info.shop_address" class="form-control" ng-blur="shop_addressdisplay = {'display': !userForm.shop_address.$invalid ? 'none' : 'block'}" ng-focus="shop_addressdisplay={'display':'block'}" length-unique="2,30"/>
								</div>
								<div class="col-sm-1 col-xs-12" style="position: relative;">
									<div class="popover right" id="shop_addressTip" tip-location="-10px" ng-style="shop_addressdisplay" style="min-width:270px">
										<div class="arrow"></div>
										<div class="popover-content">
											<div ng-class="{'default black1':userForm.shop_address.$pristine, 'no red1':userForm.shop_address.$error.unique, 'yes':!userForm.shop_address.$error.unique}" class="msg_tips">商家地址的长度范围为[2-30]个字符</div>
										</div>
								    </div>			
													
								</div>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right margintop5" for="form-field-1"> 
								商家介绍： 
							</label>
							<div class="col-sm-9">
								<div class="input-group col-xs-12 col-sm-12 ">
									<textarea rows="10" id="introduce" name="introduce" ng-model="info.introduce" class="col-sm-6 col-xs-12" ng-blur="introducedisplay = {'display': !userForm.introduce.$invalid ? 'none' : 'block'}" ng-focus="introducedisplay={'display':'block'}" length-unique="2,200"></textarea>
									<div class="col-sm-1 col-xs-12" style="position: relative;">
										<div class="popover right" id="introduceTip" tip-location="-10px" ng-style="introducedisplay" style="min-width:270px">
											<div class="arrow"></div>
											<div class="popover-content">
												<div ng-class="{'default black1':userForm.introduce.$pristine, 'no red1':userForm.introduce.$error.unique, 'yes':!userForm.introduce.$error.unique}" class="msg_tips">商家介绍的长度范围为[2-200]个字符</div>
											</div>
									    </div>			
														
									</div>
								</div>
								
							</div>
						</div>
					</div>
					<div id="alert_box"></div>
					<div class="clearfix form-actions">
						<div class="col-md-offset-3 col-md-9 col-sm-9">
							<button id="save" class="col-sm-2 btn btn-success" ng-disabled='userForm.$invalid' data-loading-text="正在提交,请稍候..." type="button" ng-click="save()">
								<i class="icon-save bigger-110"></i>
							 	<span id="submitbutton">保存</span>
							</button>
							<button class="col-sm-2 btn btn-default left10" type="button" ng-click="is_show=false">
								<i class="icon-reply bigger-110"></i>
							 	<span id="submitbutton">取消</span>
							</button>
						</div>
					</div>
				</div>
			</form>
			<div id="table-list" class="widget-box transparent" ng-if="info1 && info1.length>0">
				<div class="widget-header widget-header-flat widget-header-small"><h5><i class="icon-bell bigger-110 purple"></i>帮助</h5>
				</div>
				<div class="widget-body">
					<div class="widget-main">
						<ul class="tips_msg">
							<li data-ng-repeat="data in info1">
								{{data}}
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

